/**
 * 2025/01/01 - 2025/12/31
 */
package com.snail.server.iam.menu.vo;

import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 *
 * @author zgadmin
 * @date 2025/9/26 17:59
 *
 */
@Data
@ToString
public class AppMenuVO {

    private Long appId;

    private List<MenuVO> menus;

    public static AppMenuVO of(Long appId, List<MenuVO> menus){
        AppMenuVO appMenu = new AppMenuVO();
        appMenu.setAppId(appId);
        appMenu.setMenus(menus);
        return appMenu;
    }
}